POV-Ray : Newsgroups : povray.beta-test : a declared camera bug (transformations) : a declared camera bug (transformations) Server Time
29 Jul 2024 12:15:25 EDT (-0400)
  a declared camera bug (transformations)  
From: Mark Weyer
Date: 14 May 2002 05:06:20
Message: <3ce0d38c@news.povray.org>
The following occured with
Persistence of Vision(tm) Ray Tracer Version 3.5.beta.RC4 Unix
(.Linux.gcc)
on a Linux machine (64 MB, 300 MHz)

When I #declare a camera and use it later,
transformations are applied twice. The following is a minimal scene:

   light_source {
     <-1,2,-1>*100
     color rgb <1,1,1>
   }

   box {
     <-2,-3,-5> <2,3,5>
     texture {pigment {rgb <1,1,1>}}
   }

   #declare cam=camera {
     location -20*z
     look_at <0,0,0>
     right x
     up y

     rotate 30*x
   }

   camera {cam}

It seems to be equivalent to

   [...]

   camera {
     location -20*z
     look_at <0,0,0>
     right x
     up y

     rotate 30*x
     rotate 30*x
   }

instead of

   [...]

   camera {
     location -20*z
     look_at <0,0,0>
     right x
     up y

     rotate 30*x
   }

(As the manual tells me to use the news group while the man page
tells me to mail, I will try both.)


  Mark Weyer


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.